﻿<Window x:Uid="Window_1" x:Class="MVExplorer.MVELogon"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MeetVideoExplorer - Logon" Height="283" Width="448" WindowStyle="None" Opacity="0.95" ResizeMode="NoResize" xmlns:d="http://schemas.microsoft.com/expression/interactivedesigner/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" WindowStartupLocation="CenterScreen" Background="Transparent">
  <Window.Resources>
    <DoubleAnimation x:Uid="DoubleAnimation_1" From="0" To="0.95" Duration="0:0:2" x:Key="FadeInAnimation" />
    <DoubleAnimation x:Uid="DoubleAnimation_2" From="0.95" To="0" Duration="0:0:0.4" x:Key="FadeOutAnimation" />
    <DoubleAnimation x:Uid="DoubleAnimation_3" From="0" To="0.95" Duration="0:0:0.4" x:Key="FadeInNumpadAnimation" />
    <DoubleAnimation x:Uid="DoubleAnimation_4" From="0.95" To="0" Duration="0:0:0.4" x:Key="FadeOutNumpadAnimation" />
    <!-- Button Animation Style -->
    <Style x:Uid="Style_1" x:Key="GrowingSmartButton" TargetType="{x:Type Button}">
      <Setter x:Uid="Setter_1" Property="Template">
        <Setter.Value>
          <ControlTemplate x:Uid="ControlTemplate_1" TargetType="{x:Type Button}">
            <Grid x:Uid="buttonGrid" x:Name="buttonGrid">
              <ContentPresenter x:Uid="buttonContent" x:Name="buttonContent"
                                HorizontalAlignment=
                                   "{TemplateBinding HorizontalContentAlignment}"
                                VerticalAlignment=
                                   "{TemplateBinding VerticalContentAlignment}">
                <ContentPresenter.BitmapEffect>
                  <OuterGlowBitmapEffect x:Uid="buttonGlow" x:Name="buttonGlow" GlowColor="Orange" GlowSize="3" Opacity="0" />
                </ContentPresenter.BitmapEffect>

              </ContentPresenter>
            </Grid>


            <ControlTemplate.Triggers>
              <EventTrigger x:Uid="EventTrigger_1" RoutedEvent="ButtonBase.Click">
                <EventTrigger.Actions>
                  <BeginStoryboard x:Uid="BeginStoryboard_1" >
                    <Storyboard x:Uid="clickTimeline" x:Name="clickTimeline">
                      <!-- Click animation -->
                      <ThicknessAnimation x:Uid="ThicknessAnimation_1" Storyboard.TargetName="buttonContent" Storyboard.TargetProperty="Margin"
												From="0,0,0,0"  To="2,2,0,0" AutoReverse="True" Duration="0:0:0.2"/>
                    </Storyboard>
                  </BeginStoryboard>
                </EventTrigger.Actions>
              </EventTrigger>

              <EventTrigger x:Uid="EventTrigger_2" RoutedEvent="Mouse.MouseEnter">
                <EventTrigger.Actions>
                  <BeginStoryboard x:Uid="enterTimeline" x:Name="enterTimeline">
                    <Storyboard x:Uid="Storyboard_1">
                      <!-- Mouse over animation -->
                      <DoubleAnimation x:Uid="DoubleAnimation_5" Storyboard.TargetName="buttonGlow" Storyboard.TargetProperty="Opacity"
												To="1"  Duration="0:0:0.5"/>
                    </Storyboard>
                  </BeginStoryboard>
                </EventTrigger.Actions>
              </EventTrigger>

              <EventTrigger x:Uid="EventTrigger_3" RoutedEvent="Mouse.MouseLeave">
                <EventTrigger.Actions>
                  <BeginStoryboard x:Uid="leaveTimeline" x:Name="leaveTimeline">
                    <Storyboard x:Uid="Storyboard_2">
                      <!-- Mouse over animation -->
                      <DoubleAnimation x:Uid="DoubleAnimation_6" Storyboard.TargetName="buttonGlow" Storyboard.TargetProperty="Opacity"
												To="0"  Duration="0:0:0.5"/>
                    </Storyboard>
                  </BeginStoryboard>
                </EventTrigger.Actions>
              </EventTrigger>
            </ControlTemplate.Triggers>

          </ControlTemplate>
        </Setter.Value>
      </Setter>
    </Style>

  </Window.Resources>

  <!-- Form -->
    <Grid x:Uid="LogonGrid" Name="LogonGrid">
        
		<Grid.RowDefinitions>
			<RowDefinition x:Uid="RowDefinition_1" Height="0*"/>
			<RowDefinition x:Uid="RowDefinition_2" Height="*"/>
		</Grid.RowDefinitions>
		<Rectangle x:Uid="Rectangle" RadiusX="10" RadiusY="10" Margin="0,0,0,0" x:Name="Rectangle" Height="Auto" HorizontalAlignment="Stretch" Grid.Row="1" VerticalAlignment="Stretch" Width="Auto" Grid.RowSpan="1">
			<Rectangle.Fill>
				<LinearGradientBrush x:Uid="LinearGradientBrush_1" StartPoint="0,0" EndPoint="0,1">
					<LinearGradientBrush.RelativeTransform>
						<TransformGroup x:Uid="TransformGroup_1">
							<TranslateTransform x:Uid="TranslateTransform_1" X="0" Y="-0.5"/>
							<ScaleTransform x:Uid="ScaleTransform_1" ScaleX="1.3872912796847092" ScaleY="1.3872912796847092"/>
							<SkewTransform x:Uid="SkewTransform_1" AngleX="0" AngleY="0"/>
							<RotateTransform x:Uid="RotateTransform_1" Angle="134.4207052803055"/>
							<TranslateTransform x:Uid="TranslateTransform_2" X="0" Y="0.5"/>
							<TranslateTransform x:Uid="TranslateTransform_3" X="0.49955701792575768" Y="-0.014485358962239282"/>
						</TransformGroup>
					</LinearGradientBrush.RelativeTransform>
					<GradientStop x:Uid="GradientStop_1" Color="sc#1, 0.005, 0.005, 0.005" Offset="0"/>
					<GradientStop x:Uid="GradientStop_2" Color="sc#1, 0.04663326, 0.0478361472, 0.0593534261" Offset="0.98793363499246223"/>
				</LinearGradientBrush>
			</Rectangle.Fill>
		</Rectangle>
    
    
    <Image x:Uid="imageMeetLogo" Margin="215.501379836761,0,6,8.00000000000799" Source="/Resources/MeetLogo.png" Opacity="0.6" Visibility="Visible" Grid.Row="1" Height="111.665094339619" VerticalAlignment="Bottom" Name="imageMeetLogo">
        <Image.OpacityMask>
          <LinearGradientBrush x:Uid="LinearGradientBrush_2" StartPoint="0,0.5" EndPoint="1,0.5">
            <LinearGradientBrush.RelativeTransform>
              <TransformGroup x:Uid="TransformGroup_2">
                <TranslateTransform x:Uid="TranslateTransform_4" X="-0.5" Y="-0.5"/>
                <ScaleTransform x:Uid="ScaleTransform_2" ScaleX="0.96747875564918706" ScaleY="0.96747875564918706"/>
                <SkewTransform x:Uid="SkewTransform_2" AngleX="0" AngleY="0"/>
                <RotateTransform x:Uid="RotateTransform_2" Angle="-90.329012377968226"/>
                <TranslateTransform x:Uid="TranslateTransform_5" X="0.5" Y="0.5"/>
                <TranslateTransform x:Uid="TranslateTransform_6" X="0.025004459960191152" Y="0.016268644335960564"/>
              </TransformGroup>
            </LinearGradientBrush.RelativeTransform>
            <GradientStop x:Uid="GradientStop_3" Color="sc#1, 0, 0, 0" Offset="0"/>
            <GradientStop x:Uid="GradientStop_4" Color="sc#0.2, 1, 1, 1" Offset="1"/>
            <GradientStop x:Uid="GradientStop_5" Color="#BA555555" Offset="0.59465951622814683"/>
          </LinearGradientBrush>
        </Image.OpacityMask>
      </Image>
    <Rectangle x:Uid="Rectangle1" d:LayoutOverrides="VerticalAlignment" RadiusX="14" RadiusY="14" Margin="50.9999999999986,0,-39.9999999999943,-8" Grid.Row="1" x:Name="Rectangle1" OpacityMask="{x:Null}" Height="33" VerticalAlignment="Bottom">
			<Rectangle.Fill>
				<RadialGradientBrush x:Uid="RadialGradientBrush_1">
					<GradientStop x:Uid="GradientStop_6" Color="sc#0.3, 1, 1, 1" Offset="0"/>
					<GradientStop x:Uid="GradientStop_7" Color="sc#0, 1, 1, 1" Offset="1"/>
				</RadialGradientBrush>
			</Rectangle.Fill>
		</Rectangle>
		<Rectangle x:Uid="Rectangle1_Copy" d:LayoutOverrides="VerticalAlignment" RadiusX="14" RadiusY="14" Margin="-16.0000000000014,-8,27.0000000000054,0" Height="30" Grid.RowSpan="2" x:Name="Rectangle1_Copy" OpacityMask="{x:Null}" VerticalAlignment="Top">
			<Rectangle.Fill>
				<RadialGradientBrush x:Uid="RadialGradientBrush_2">
					<GradientStop x:Uid="GradientStop_8" Color="sc#0.3, 1, 1, 1" Offset="0"/>
					<GradientStop x:Uid="GradientStop_9" Color="sc#0, 1, 1, 1" Offset="1"/>
				</RadialGradientBrush>
			</Rectangle.Fill>
		</Rectangle>
      <Button x:Uid="cmdLogon" Style="{StaticResource GrowingSmartButton}" Foreground="Orange" Grid.Row="1" Height="25" HorizontalAlignment="Left" Margin="21,0,0,21" Name="cmdLogon" VerticalAlignment="Bottom" Width="60" Content="Logon"/>
      <Button x:Uid="cmdCancel" Style="{StaticResource GrowingSmartButton}" Foreground="Orange" Grid.Row="1" Height="25" HorizontalAlignment="Left" Margin="83,0,0,21" Name="cmdCancel" VerticalAlignment="Bottom" Width="80" Content="Cancel"/>
      <!--<Label x:Uid="labelMessage" Margin="26,90,185,139" Name="labelMessage" Foreground="#FFFF0000" FontWeight="Bold" Grid.Row="1"  Content="ユーザー名またはパスワードが違います"  />-->
      <Label x:Uid="labelMessage" Margin="26,90,185,139" Name="labelMessage" Foreground="#FFFF0000" FontWeight="Bold" Grid.Row="1"  Content="User name or password is invalid.."  />
      <TextBox  x:Uid="textUserName" Margin="27,26,0,0" Name="textUserName"   HorizontalAlignment="Left" Grid.Row="1" Width="129" Height="25" VerticalAlignment="Top" />
      <PasswordBox x:Uid="textPassword" Height="25" Margin="27,60,0,0" Name="textPassword" VerticalAlignment="Top"  HorizontalAlignment="Left" Grid.Row="1" Width="129"/>
      <Label x:Uid="labelPassword" FontSize="14" Foreground="#FFD8D8D8" Height="26"  Margin="165,58,185,0" Name="labelPassword" VerticalAlignment="Top"  Grid.Row="1" Content="Password"/>
      <Label x:Uid="labelUserName" FontSize="14" Foreground="#FFD8D8D8"   Margin="165,24,184,0" Name="labelUserName"   Grid.Row="1" Height="29" VerticalAlignment="Top" Content="User Name"/>
      <!--
      <InkCanvas x:Uid="inkCnvsRecognize" Grid.Row="1" Margin="170,0,0,0" Name="inkCnvsRecognize" MinHeight="50" MinWidth="50" Background="Transparent" Opacity="0.7" EditingMode="Ink" ToolTip="To handwriting text, scribe HERE and tap input area." />
      -->
      <StackPanel x:Uid="spanelLogonTools" Name="spanelLogonTools"  Grid.Row="1" Margin="250,20,1,0" Visibility="Hidden" Opacity="0" />
    </Grid>
</Window>
